package cz.none.bezbarier.web.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cz.none.bezbarier.web.model.Place;
import cz.none.bezbarier.web.model.Type;

public interface PlaceRepositoryCustom {
	Page<Place> findByType(Type type, Pageable pageable);

	Page<Place> findByName(String name, Pageable pageable);

	Page<Place> findByTypeAndName(Type type, String name, Pageable pageable);
}
